<template>
   <el-container class="home-container">
    <!-- 头部区域 -->
    <el-header>
      <div>
        <span>成都快优稳网络科技有限公司</span>
      </div>
    </el-header>
  <!-- 页面主体区域 -->
    <el-container >
      <el-aside width="200px" >
                  <!-- 侧边栏菜单区域 -->
        <el-menu  router background-color="#333744" text-color="#fff" active-text-color="#409EFF" unique-opened>
          <!-- 一级菜单 -->
          <el-submenu index="">
            <!-- 一级菜单的模板区域 -->
            <!-- 一级菜单的模板区域 -->
            <template slot="title">
              <!-- 文本 -->
              <span>Android</span>
            </template>
            <!-- 二级菜单 -->
            <el-menu-item index="/globalConfig">
                全局配置
            </el-menu-item>
            <el-menu-item index="/layout">
                布局
            </el-menu-item>
          </el-submenu>
        </el-menu>
      </el-aside>
      <el-main>  <!-- 路由占位符 -->
        <router-view></router-view>
      </el-main>
  </el-container>

   </el-container>
</template>

<script>

</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="less" scoped>
.home-container {
  height: 100%;
}
.el-header {
  display: flex;
  justify-content: space-between;
  padding-left: 0;
  align-items: center;
  font-size: 20px;
  color: #fff;
  background-color: #324157 !important;
  > div {
    display: flex;
    align-items: center;
    img {
      width : 250px
    }
    span {
      margin-left: 15px;
    }
  }
}

.el-aside {
  background-color: #324157 !important;
   height: 100%;
}

.el-main {
  background-color: #eaedf1;
}


</style>
